package com.example.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.domain.Activity;

import java.util.List;

public interface IActivityService extends IService<Activity> {
//    查询关键字
    public List getKeyWord(String name);
//    分页查询数据
    public IPage<Activity> getActivity(Integer pageCurrent,Integer pageSize);

    List<Activity> getActivityByStatus(Integer id, Integer status);
}
